#include<stdio.h>
#include<string.h>
main()
{
	int i;
	char *t[3]={"google","baidu","yahoo"};
	for(i=0;i<3;i++)
    if(strcmp(t[i],t[i+1])<0)
		printf("%s\n",t[i]);
}
			
    
